<?php
require 'util.php';
$htmlString =	
"
		<div id=\"registerFormContainer\" class=\"loginLayerContentsBox\">
			
			<form id=\"regForm\" action=\"#\">
				<div>
					<p>To create an account please fill out the form below and click on Submit.</p>
					<div>
						<label for=\"id\">User id:</label>
						<input type=\"text\" name=\"id\" id=\"id\"/>
					</div>
					<div>
						<label for=\"pw1\">Password: </label>
						<input type=\"password\" name=\"pw1\" id=\"pw1\"/>
					</div>
					<div>
						<label for=\"pw2\">Retype the password: </label>
						<input type=\"password\" name=\"pw2\" id=\"pw2\"/>
					</div>
					<div>
						<label for=\"email\">Email address: </label>
						<input type=\"email\" name=\"email\" id=\"email\"/>
					</div>
					<input type=\"hidden\" name=\"action\" value=\"register\"/>
					<div>
						<a id=\"submitRegistrationButton\" class=\"formButtonClass inputSubmitInactive\">Submit</a>
						<a id=\"backToLogin\" href=\"#\" class=\"formButtonClass inputSubmitActiavated\">Back</a>
					</div>
					<p id=\"regFormErrors\"></p>
				<div>
			</form>
		</div>";

$response = array(
"htmlString" => $htmlString
);
echo json_encode($response);
?>


